home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.6 KB | 141 lines | [TEXT/MPS ] |
- /*
- File: StringCompare.idl
-
- Contains: Public interfaces for String Comparison and related operations
-
- Version: Technology: System 7.0 through System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __STRINGCOMPARE_IDL__
- #define __STRINGCOMPARE_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __TEXTCOMMON_IDL__
- #include <TextCommon.idl>
- #endif
- #ifndef __SCRIPT_IDL__
- #include <Script.idl>
- #endif
- #ifndef __TEXTOBJECTS_IDL__
- #include <TextObjects.idl>
- #endif
- #ifndef __LOCALEOBJECTS_IDL__
- #include <LocaleObjects.idl>
- #endif
- #ifndef __TEXTPARSER_IDL__
- #include <TextParser.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- /*
-
- Here are the current System 7 routine names and the translations to the older forms.
- Please use the newer forms in all new code and migrate the older names out of existing
- code as maintenance permits.
-
- NEW NAME OLD NAME OBSOLETE FORM (no handle)
-
- CompareString (Str255) IUCompPString (hp only) IUCompString (hp only)
- CompareText (ptr/len) IUMagPString IUMagString
- IdenticalString (Str255) IUEqualPString (hp only) IUEqualString (hp only)
- IdenticalText (ptr/len) IUMagIDPString IUMagIDString
- LanguageOrder IULangOrder
- ScriptOrder IUScriptOrder
- StringOrder (Str255) IUStringOrder (hp only)
- TextOrder (ptr/len) IUTextOrder
-
- RelString
- CmpString (a only)
- EqualString (hp only)
-
- ReplaceText
-
- */
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- /* obsolete names*/
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE*/
- #if FOR_SYSTEM8_PREEMPTIVE
- typedef OpaquePtr CollationRef;
-
- typedef OpaquePtr ConstBytePtr; /* Substituted OpaquePtr for “UInt8*” */
-
- /* Collation object key names*/
- /* Attribute names and values for CreateCollationRef*/
- typedef FourCharCode CollateUsageAttributeValue;
-
- typedef FourCharCode CollateIdeoOrderAttributeValue;
-
- /* Override types and enums*/
- typedef SOMFourByteStruct CollationSet; /* Derived from a struct of 4 bytes in size */
-
- typedef OptionBits CollateSetOptions;
-
- typedef SOMLargeStruct CollationSetOptionSpec; /* Derived from a struct of 8 bytes in size */
-
- typedef OptionBits CollateNumberOptions;
-
- typedef OptionBits CollateOptions;
-
- /* collation value for GetCollationKeyForTextString*/
- typedef UInt32 CollationValue;
-
- typedef SInt16 CollateResult;
-
- #endif
- /* FOR_SYSTEM8_PREEMPTIVE*/
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- /*
- The following functions are old names, but are required for System 7 PowerPC builds
- becuase InterfaceLib exports these names, instead of the new ones.
- */
- /*
- The following are new names which are not exported by System 7 InterfaceLib for PowerPC.
- For C the new names are mapped to the old names using #define.
- */
- /*
- The following functions are new names that are exported by InterfaceLib
- and work on both 68k and System 7 PowerPC.
- */
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE*/
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- #if CGLUESUPPORTED
- #if OLDROUTINENAMES
- #endif
- #endif
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED*/
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- #if CGLUESUPPORTED
- #endif
- #endif
- /* FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE*/
- #if FOR_SYSTEM8_PREEMPTIVE
- /*
- Locale-insensitive utilities for text objects
- For internal, user-invisible behavior thay must remain invariant across different systems
- */
- #endif
- /* FOR_SYSTEM8_PREEMPTIVE*/
-
- #endif /* __SOMIDL__ */
-
- #endif /* __STRINGCOMPARE_IDL__ */
-
-